<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <title>Word文件另存为MHT</title>

</head>
<body>
<script type="text/javascript">
    function saveAsMHT() {
        document.getElementById("PageOfficeCtrl1").WebSaveAsMHT();
        document.getElementById("PageOfficeCtrl1").Alert("MHT格式的文件已经保存到 SaveAsMHT/doc目录下。");
        document.getElementById("div1").innerHTML = "<a href='doc/test.mht?r=" + Math.random() + "'> 查看另存的 MHT 文件<a><br><br>";
    }
</script>
<form id="form1">
    <div id="div1"></div>
    <div style=" width:1000px; height:800px;" th:utext="${pageoffice}">
    </div>
</form>
</body>

</html>
